<template>
  <div id="app">
    <header>
      <router-view name="header"></router-view>
    </header>
    <main>
      <router-view></router-view>
    </main>
    <footer>
      <router-view name="footer"></router-view>
    </footer>
  </div>
</template>

<script>
export default {
  name: 'App',
}
</script>

<style>
  @font-face {
  font-family: 'iconfont';  /* project id 3155202 */
  src: url('');
  src: url('?#iefix') format('embedded-opentype'),
  url('//at.alicdn.com/t/font_3155202_c7u0zcqdha.woff2') format('woff2'),
  url('//at.alicdn.com/t/font_3155202_c7u0zcqdha.woff') format('woff'),
  url('//at.alicdn.com/t/font_3155202_c7u0zcqdha.ttf') format('truetype'),
  url('#iconfont') format('svg');
}

  .iconfont{
    font-family:"iconfont" !important;
    font-size:16px;
    font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
  }
</style>

<style lang="less">
  html, body, #app {
    height: 100%;
  }
  #app {
    display: flex;
    flex-direction: column;

    main {
      flex: 1;
      overflow-x: hidden;
    }
  }
</style>
